<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<title>Dart : Libraries : box2d : ContactSolver</title>
</head>

<body>

<header></header>

<h1 id="title">class <a name='ContactSolver::ContactSolver'>ContactSolver</a></h1>

<section id="inheritance">

<section class="supertype">
<h2>Supertype:</h2>
<ul><li>Object</li></ul>
</section>

</section>

<section id="summary">
</section>

<section id="fields">
<h2>Fields</h2>
<dl>
<dt>
<span class="field-type"><code><code><a href='int.html#int::int'>int</a></code></code></span>
<span class="field-name"><code><a name='ContactSolver::INITIAL_NUM_CONSTRAINTS'>INITIAL_NUM_CONSTRAINTS
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='double.html#double::double'>double</a></code></code></span>
<span class="field-name"><code><a name='ContactSolver::K_MAX_CONDITION_NUMBER'>K_MAX_CONDITION_NUMBER
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='Vector.html#Vector::Vector'>Vector</a></code></code></span>
<span class="field-name"><code><a name='ContactSolver::P'>P
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='Vector.html#Vector::Vector'>Vector</a></code></code></span>
<span class="field-name"><code><a name='ContactSolver::P1'>P1
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='Vector.html#Vector::Vector'>Vector</a></code></code></span>
<span class="field-name"><code><a name='ContactSolver::P2'>P2
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='int.html#int::int'>int</a></code></code></span>
<span class="field-name"><code><a name='ContactSolver::constraintCount'>constraintCount
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='List.html#List::List'>List&lt;E&gt;</a></code></code></span>
<span class="field-name"><code><a name='ContactSolver::constraints'>constraints
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='Vector.html#Vector::Vector'>Vector</a></code></code></span>
<span class="field-name"><code><a name='ContactSolver::d'>d
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='Vector.html#Vector::Vector'>Vector</a></code></code></span>
<span class="field-name"><code><a name='ContactSolver::dv'>dv
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='Vector.html#Vector::Vector'>Vector</a></code></code></span>
<span class="field-name"><code><a name='ContactSolver::dv1'>dv1
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='Vector.html#Vector::Vector'>Vector</a></code></code></span>
<span class="field-name"><code><a name='ContactSolver::dv2'>dv2
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='PositionSolverManifold.html#PositionSolverManifold::PositionSolverManifold'>PositionSolverManifold</a></code></code></span>
<span class="field-name"><code><a name='ContactSolver::psolver'>psolver
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='Vector.html#Vector::Vector'>Vector</a></code></code></span>
<span class="field-name"><code><a name='ContactSolver::rA'>rA
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='Vector.html#Vector::Vector'>Vector</a></code></code></span>
<span class="field-name"><code><a name='ContactSolver::rB'>rB
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='Vector.html#Vector::Vector'>Vector</a></code></code></span>
<span class="field-name"><code><a name='ContactSolver::tangent'>tangent
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='Vector.html#Vector::Vector'>Vector</a></code></code></span>
<span class="field-name"><code><a name='ContactSolver::temp1'>temp1
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='Vector.html#Vector::Vector'>Vector</a></code></code></span>
<span class="field-name"><code><a name='ContactSolver::temp2'>temp2
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='WorldManifold.html#WorldManifold::WorldManifold'>WorldManifold</a></code></code></span>
<span class="field-name"><code><a name='ContactSolver::worldManifold'>worldManifold
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='Vector.html#Vector::Vector'>Vector</a></code></code></span>
<span class="field-name"><code><a name='ContactSolver::x'>x
</a></code></span>
</dt>
<dd>
</dd>
</dl>
</section>

<section id="constructors">
<h2>Constructors</h2>
<dl>
<dt>
<code><a href='ContactSolver.html#ContactSolver::ContactSolver'>ContactSolver</a>()</code>
</dt>
<dd>
 Constructs a new ContactSolver. </dd>
</dl>
</section>

<section id="methods">
<h2>Methods</h2>
<dl>
<dt>
<code>void <a name='ContactSolver::init'>init</a>(<code><a href='List.html#List::List'>List&lt;E&gt;</a></code> <a name='ContactSolver::init::contacts'>contacts</a>, <code><a href='int.html#int::int'>int</a></code> <a name='ContactSolver::init::contactCount'>contactCount</a>, <code><a href='num.html#num::num'>num</a></code> <a name='ContactSolver::init::impulseRatio'>impulseRatio</a>)</code></dt>
<dd>
</dd>
<dt>
<code><code><a href='bool.html#bool::bool'>bool</a></code> <a name='ContactSolver::solvePositionConstraints'>solvePositionConstraints</a>(<code><a href='num.html#num::num'>num</a></code> <a name='ContactSolver::solvePositionConstraints::baumgarte'>baumgarte</a>)</code></dt>
<dd>

 Sequential solver.
</dd>
<dt>
<code>void <a name='ContactSolver::solveVelocityConstraints'>solveVelocityConstraints</a>()</code></dt>
<dd>
</dd>
<dt>
<code>void <a name='ContactSolver::storeImpulses'>storeImpulses</a>()</code></dt>
<dd>
</dd>
<dt>
<code>void <a name='ContactSolver::warmStart'>warmStart</a>()</code></dt>
<dd>
</dd>
</dl>
</section>

<footer></footer>

</body></html>
